summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile8
1 files changed, 3 insertions, 5 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 041334a6..eb03390c 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -73,13 +73,11 @@ COPY requirements.txt $G4F_DIR
# Upgrade pip for the latest features and install the project's Python dependencies.
RUN pip install --break-system-packages --upgrade pip \
- && pip install --break-system-packages -r requirements.txt
-
-# Install selenium driver and uninstall webdriver
-RUN pip install --break-system-packages \
+ && pip install --break-system-packages -r requirements.txt \
+ && pip install --break-system-packages \
undetected-chromedriver selenium-wire \
&& pip uninstall -y --break-system-packages \
- webdriver plyer nodriver
+ pywebview plyer
# Copy the entire package into the container.
ADD --chown=$G4F_USER:$G4F_USER g4f $G4F_DIR/g4f